package com.team.recruitment_management_system.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 教育经历表
 * @TableName education_experience
 */
@TableName(value ="education_experience")
@Data
public class EducationExperience implements Serializable {
    /**
     * 教育经历ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 简历ID 外键
     */
    private Integer resumeId;

    /**
     * 学校名称
     */
    private String schoolName;

    /**
     * 学制类型(1全日制 2非全日制)
     */
    private Integer type;

    /**
     * 学历(1高中及以下 2大专 3本科 4硕士 5博士)
     */
    private Integer education;

    /**
     * 专业
     */
    private String major;

    /**
     * 入学年份 1998
     */
    @JsonFormat(pattern = "yyyy",timezone = "Asia/Shanghai")
    private Object enrollmentYear;

    /**
     * 毕业年份 2002
     */
    @JsonFormat(pattern = "yyyy",timezone = "Asia/Shanghai")
    private Object graduationYear;

    /**
     * 学校经历
     */
    private String schoolExperience;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}